package com.example.diet_sport.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * @author 伽蓝尘
 * @create 2023-06-06 0:22
 */
public class usersport {
    @TableId(type = IdType.AUTO)
    private Integer id;	//主键id
    private Integer uid;	//用户id
    private Integer sid;	//运动id

    private String name;	//运动名称
    private double time;//运动时间
    private double heatout;//热量消耗
    private String day;//添加日期

    private String url;//图片

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;}

    public Integer getId() {
    return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getTime() {
        return time;
    }

    public void setTime(double time) {
        this.time = time;
    }

    public double getHeatout() {
        return heatout;
    }

    public void setHeatout(double heatout) {
        this.heatout = heatout;
    }

    public String getDay() {
        return day;
    }

    public void setDay(String day) {
        this.day = day;
    }
}
